{template 'content', 'header'}

<div class="content w980">
    <div class="goods-order">
        <h2>订单信息：</h2>
        <table>
            <tr class="table-th">
                <th>订单号</th>
                <th>支付</th>
                <th>状态</th>
                <th>数量</th>
                <th>总价</th>
                <th>操作</th>
            </tr>
            {pc:goods action="order" order_on="$order_on" accept_qq="$accept_qq"}
            {loop $data $val}
            <tr>
                <td align="center">{$val['order_on']}</td>
                <td align="center">{$val['price']}元</td>
                <td align="center">{if $val['is_pay'] == 2} 完成 {else} 未支付 {/if}</td>
                <td align="center">{$val['number']}</td>
                <td align="center">{$val['price']}元</td>
                <td align="center"><a href="{APP_PATH}index.php?m=goods&c=index&a=down&id={$val['id']}">下载号码</a></td>
            </tr>
            {/loop}
            {/pc}
        </table>
    </div>
</div>
{template 'content', 'footer'}